<template>
	<div class="detail-evaluation-item">
		<div class="detail-evaluation-item-avatar">
			<img :src="evaluationItem.user.pic" alt="">
			<span class="iconfont icon-user"></span>
		</div>
		<div class="detail-evaluation-item-detail">
			<div class="detail-evaluation-item-header">
				<div class="detail-evaluation-item-header-username">匿名用户</div>
				<div class="detail-evaluation-item-header-str">{{evaluationItem.goods.goodReputationStr || '好评'}}</div>
			</div>
			<div class="detail-evaluation-item-content" v-html="evaluationItem.goods.goodReputationRemark"></div>
			<div class="detail-evaluation-item-footer">
				<span>{{evaluationItem.goods.dateReputation}}</span>
				<span>选择规格：{{evaluationItem.goods.goodsName}}</span>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: "EvaluationItem",
		props: {
			evaluationItem: {
				type: Object,
				required: true
			}
		}
	}
</script>
